• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

아주 작은 에러

pymysql.err.IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constraint fails

문제 상황: pymysql을 사용하여 db에 저장하려고 하는데 pymysql.err.IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constraint fails ~ 에러가 뜸 에러 메시지를 읽어보면, 뭔가 integer값으로 들어가야 하는데 그게 아니라서 데이터 추가가 안되나 보다. 그런데, 똑같이 코드를 작성...

해결의 기록mysqlpython아주 작은 에러mysql

파일 오픈시 'utf-8' codec can't decode byte 0xc4 in position 7239: invalid continuation byte에러

에러 메시지: 'utf-8' codec can't decode byte 0xc4 in position 7239: invalid continuation byte 를 했더니 에러 메시지가 나왔다. 해결: vpn_f = open(vpn_filename, 'r', encoding='ISO-8859-1') 성공~!...

python해결의 기록아주 작은 에러python

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more